-- GENERATED SPELL FOR [Ironfur Patriarch] --


function spell0_5274(pUnit, Event) --@Demoralizing Roar,Self--
pUnit:FullCastSpellOnTarget(10968,pUnit)
pUnit:RegisterEvent('Sorts_5274', 30263, 1)
end

function Sorts_5274(pUnit, Event)
local choix_sorts_5274 = math.random(0, 0)
if choix_sorts_5274 == 0 then
pUnit:RegisterEvent('spell0_5274', 1, 1)
end
end

function mob5274_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5274', math.random(1500, 3000), 1)
end

function mob5274_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5274_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5274_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5274, 1, 'mob5274_Action')
RegisterUnitEvent(5274, 2, 'mob5274_Leave')
RegisterUnitEvent(5274, 3, 'mob5274_Kill')
RegisterUnitEvent(5274, 4, 'mob5274_Die')
